import QtQuick 1.0

Item {
    property alias color : rectangle.color
	property alias border : rectangle.border
	property alias radius: rectangle.radius

    BorderImage {
        anchors.fill: rectangle
        anchors { leftMargin: -6; topMargin: -6; rightMargin: -9; bottomMargin: -9 }
        border { left: 10; top: 10; right: 10; bottom: 10 }
        source: "qrc:/qml/images/shadow.png";
        smooth: true
    }

    Rectangle {
        id: rectangle;
        anchors.fill: parent
    }
}
